package messageHandler;

import org.openymsg.network.Session;

import core.MessageBuilder;

public class SendTextMessageHandler implements IMessage{

	@Override
	public Object Process(String message, Session session) {
		try{
			message = message.split(MessageBuilder.ONE)[1];
			String[] strs = message.split(MessageBuilder.TWO);
			session.sendMessage(strs[0], strs[1]);
		}catch (Exception e) {
			// TODO: handle exception
		}
		return null;
	}

}
